package tr.edu.metu.is.mega.server.core;

import java.io.Serializable;

/**
 * Interface for all entity classes.
 */
public interface BaseEntity extends Serializable {

    /**
     * Returns primary key value.
     * 
     * @return primary key value
     */
    Integer getPkid();

    /**
     * Sets primary key value.
     * 
     * @param pkid primary key value
     */
    void setPkid(Integer pkid);

}
